Disable use of mmap. This allows Xenstored to run with an NFS-mounted
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sat, 12 Nov 2005 16:51:14 +0000 (17:51 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sat, 12 Nov 2005 16:51:14 +0000 (17:51 +0100)
/var/lib/xenstored.  Closes bug #400.  This fix no doubt has a performance hit,
so I have opened bug #401 to discuss a better fix.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/xenstore/tdb.c

index fdf3d5a8375fdc2e04c71da6dae37d35c7e4c2ab..7ebf37a94109dcfb47f668a0b0b8a49a038788ae 100644 (file)
@@ -45,7 +45,7 @@
 #include "tdb.h"
 #include <stdarg.h>
 #include "talloc.h"
-#define HAVE_MMAP
+#undef HAVE_MMAP
 #else
 #include "includes.h"
 #include "lib/tdb/include/tdb.h"